<link rel="stylesheet" type="text/css" href="assets/bootstrap-datepicker/css/datepicker.css" />
<!-- 主页-请假管理 -->
<section id="container">
	<!--main content start-->
	<section id="main-content">
		<section class="wrapper">
			<!--state overview end-->
			<div class="row">
				<div class="col-lg-12">

					<section class="panel">
						<div class="panel-body" style="padding-bottom:0;">
							<div class="row">
								<div class="col-lg-2">
									<div class="input-group m-bot15">
										<span class="input-group-addon" style="position: relative;z-index: 2;">公司</span>
										<select class="form-control" style="position: relative;margin-left:-4px;text-indent:4px;"
											id="compCode" ng-model="compCode">
											<option value="" selected>全部公司</option>
											<option ng-repeat="x in comps" value="{{x.companyId}}">{{x.company}}</option>
										</select>
									</div>
								</div>
								<div class="col-lg-3">
									<div class="input-group m-bot15">
										<span class="input-group-addon">成员</span>
										<input type="text" id="autocomplete" class="form-control" placeholder="人员姓名" style="border-top-right-radius:4px;border-bottom-right-radius:4px;">
										<input type="hidden" value="" id="userId">
									</div>
								</div>
								<div class="col-lg-3">
									<div class="input-group m-bot15">
										<span class="input-group-addon">开始日期</span>
										<input type="text" id="datetime-star" class="form-control" placeholder="开始日期">
									</div>
								</div>
								<div class="col-lg-3">
									<div class="input-group m-bot15">
										<span class="input-group-addon">结束日期</span>
										<input type="text" id="datetime-2" class="form-control" placeholder="结束日期">
									</div>
								</div>
								<div class="col-lg-1">
									<button class="btn btn-info searchs" style="margin-bottom:15px;">搜索</button>
								</div>
							</div>
						</div>
					</section>


					<!-- <div class="view-header">
						<div class="view-search">
							<label class="pull-left">公司：</label>
							<select class="form-control pull-left" id="compCode" ng-model="compCode">
								<option value="" selected>全部公司</option>
								<option ng-repeat="x in comps" value="{{x.companyId}}">{{x.company}}</option>
							</select>
							<label class="pull-left">成员：</label>
							<input type="text" value="" id="autocomplete" class="form-control" autocomplete="off">
							<input type="hidden" value="" id="userId">
							<label class="pull-left">时间范围：</label>
							<input id="datetime-star" type="text" value="" class="form-control pull-left">
							<label class="pull-left">至&nbsp;</label>
							<input id="datetime-2" type="text" value="" class="form-control pull-left">
							<a href="javascript:void(0);" class="btn btn-info pull-left searchs">搜索</a>
						</div>
					</div> -->

					<section class="panel">
						<div class="panel-heading">
							请假信息
						</div>
						<div class="panel-body">
							<div id="leaInfoContainer" class="dlshouwen-grid-container"></div>
							<div id="leaInfoToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
						</div>
						<div class="panel-heading">
							出差/公干信息
						</div>
						<div class="panel-body">
							<div id="oabtContainert" class="dlshouwen-grid-container"></div>
							<div id="oabtToolBarContainert" class="dlshouwen-grid-toolbar-container"></div>
						</div>
					</section>
				</div>
			</div>
		</section>
	</section>
	<!--main content end-->
</section>
<script type="text/javascript" src="js/autocomplete/jquery.autocomplete.js"></script>
<script type="text/javascript" src="assets/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
<script type="text/javascript" src="js/leave/leave.js"></script>
<script>
	$('#datetime-star').datepicker({
		format: 'yyyy-mm-dd'
	});
	$("#datetime-2").datepicker({
		format: 'yyyy-mm-dd'
	});
</script>